<style>
#load{
    width:100%;
    height:100%;
    position:fixed;
    z-index:9999;
    background:url("images/loading_bar.gif") no-repeat center center #fff;
}
</style>
<script>
document.onreadystatechange = function () {
	var path = window.location.href;
	path = path.replace(/\/$/, "");
    path = decodeURIComponent(path);
	var pageUrl		=	path;
	sessionStorage.setItem( 'pageUrl', JSON.stringify(pageUrl) );
  
  var state = document.readyState
  if (state == 'interactive') {
       document.getElementById('contents').style.visibility="hidden";
  } else if (state == 'complete') {
      setTimeout(function(){
	   if(typeof sessionStorage["admin_user_id"]!='undefined'){
	   //alert(sessionStorage["admin_user_id"]);return false;
	   		document.getElementById('interactive');
			document.getElementById('load').style.visibility="hidden";
			document.getElementById('contents').style.visibility="visible";
		 }else{
		 
			window.location="index.html";
		 }
      },400);
  }
}
</script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/webserviceurl.js"></script>
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-alert.js"></script>
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap-modal.js"></script>
<script src="js/validations.js"></script>
<script src="js/commonfunctions.js"></script>
<script src="js/text.js"></script>
<link href="css/style.css" rel="stylesheet">
<link href="css/default.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">
<script>

$(window).load(function(){
	$('#sidemenu').load('side-menu.html');
	$('#header').load('header.html');
	$('#footer').load('footer.html');
	var user_id = JSON.parse(sessionStorage["admin_user_id"]);
	//alert(user_id);return false;
});
</script>
<div id="load"></div>
<div id="contents">
  <div id="header"></div>
    <div class="container-fluid">
      <div class="row-fluid container_bg">
        <div id="sidemenu"></div>
        <div class="span9 pos_r">
			<div class="container_title">
				<div class=""><h1>Admin History</h1></div>
				<div  id="success_alert" class="alert_sucess alert alert-success span11" style="display:none;">
					<i class=" icon-ok-sign"></i>&nbsp;&nbsp;
					<span  id="sucessDiv"></span>
				</div>
				<div class="container_form_top">
				<table class="table table-bordered">
					<tr>
						<th>S.No</th>
						<th>Order-id</th>
						<th>User-Name</th>
						<th>Prescription</th>
						<th>Description</th>
						<th>Location</th>
						<th>Pin-code</th>
						<th>View</th>
					</tr>
					<tr>
						<td>1</td>
						<td>22</td>
						<td>Nagaraju</td>
						<td>View-image</td>
						<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry</td>
						<td>Kukatpally</td>
						<td>522021</td>
						<td><a href="#myModal" role="button" class="" data-toggle="modal">Accepted</a></td>
					</tr>
				</table>
				</div>
			</div>
          
        </div><!--/span-->
      </div><!--/row-->
    </div><!--/.fluid-container-->
<div id="footer"></div>
</div>

<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h3 id="myModalLabel">Title</h3>
  </div>
  <div class="modal-body">
        <table class="table table-condensed">
			<tr>
				<th>S.No</th>
				<th>Shop-Name</th>
			</tr>
			<tr>
				<td>1</td>
				<td>Sreedd Pharmacy</td>
				
			</tr>
			<tr>
				<td>2</td>
				<td>Sreedd Pharmacy</td>
			</tr>
			<tr>
				<td>3</td>
				<td>Sreedd Pharmacy</td>
			</tr>
			<tr>
				<td>4</td>
				<td>Sreedd Pharmacy</td>
			</tr>
			<tr>
				<td>1</td>
				<td>Sreedd Pharmacy</td>
				
			</tr>
			<tr>
				<td>5</td>
				<td>Sreedd Pharmacy</td>
				
			</tr>
    </table>
  </div>
  <div class="modal-footer">
    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
    <button class="btn btn-primary">Save changes</button>
  </div>
</div>